<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">

		<title>TRANS-INFO</title>
		<meta name="keywords" content="TRANS-INFO">
		<meta name="description" content="TRANS-INFO">

		<link href="../css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
		<link href="../css/font-awesome.css?v=4.4.0" rel="stylesheet">
		<link href="../css/animate.css" rel="stylesheet">
		<link href="../css/style.css?v=4.1.0" rel="stylesheet">

		<!-- treegrid -->
		<link href="../css/plugins/treeview/bootstrap-treeview.css" rel="stylesheet">

	</head>

	<body class="gray-bg">
		<div class="wrapper wrapper-content animated fadeInRight">
			<div class="row">
				<div class="col-sm-12">
					<div class="ibox float-e-margins">
						<div class="ibox-title">
							<h5><i class="fa fa-table"></i> 方法级调用链明细</h5>
							<div class="ibox-tools">
								<a class="collapse-link">
									<i class="fa fa-chevron-up"></i>
								</a>
								<a class="dropdown-toggle" data-toggle="dropdown" href="trans_info.html">
									<i class="fa fa-wrench"></i>
								</a>
								<ul class="dropdown-menu dropdown-user">
									<li>
										<a href="trans_info.html">选项1</a>
									</li>
									<li>
										<a href="trans_info.html">选项2</a>
									</li>
								</ul>

							</div>
						</div>
						<div class="ibox-content">
							<div id="trans_detail" class="test"></div>
						</div>
					</div>
				</div>
			</div>
			<div class="row">
				<div class="col-sm-12">
					<div class="ibox float-e-margins">
						<div class="ibox-title">
							<h5><i class="fa fa-table"></i> 方法级调用链明细</h5>
							<div class="ibox-tools">
								<a class="collapse-link">
									<i class="fa fa-chevron-up"></i>
								</a>
								<a class="dropdown-toggle" data-toggle="dropdown" href="trans_info.html">
									<i class="fa fa-wrench"></i>
								</a>
								<ul class="dropdown-menu dropdown-user">
									<li>
										<a href="trans_info.html">选项1</a>
									</li>
									<li>
										<a href="trans_info.html">选项2</a>
									</li>
								</ul>

							</div>
						</div>
						<div class="ibox-content">
							<div id="trans_detail" class="test"></div>
						</div>
					</div>
				</div>
			</div>
		</div>

		<!-- 全局js -->
		<script src="../js/jquery.min.js?v=2.1.4"></script>
		<script src="../js/bootstrap.min.js?v=3.3.6"></script>

		<!-- 自定义js -->
		<script src="../js/content.js?v=1.0.0"></script>
		<script src="../js/mine/format.js"></script>

		<!-- 时间框 -->
		<script src="../js/mine/time.js"></script>

		<!-- treeview js -->
		<script src="../js/plugins/treeview/bootstrap-treeview.js"></script>

		<!-- Page-Level Scripts -->
		<script>
			$(document).ready(function() {

				//				var traceIdP = GetEscapeStr("traceId");
				//				var agentIdP = GetEscapeStr("agentId");
				//				var spanIdP = GetEscapeStr("spanId");
				//				var focusTimestampP = GetEscapeStr("focusTimestamp");
				$.get("http://localhost:8041/my/transactionInfoDetail", {
						traceId: GetEscapeStr("traceId"),
						agentId: GetEscapeStr("agentId"),
						spanId: GetEscapeStr("spanId"),
						mRpc: GetEscapeStr("mRpc")
					},
					function(rs) {
						$('#trans_detail').treeview({
							levels: 99,
							expandIcon: 'glyphicon glyphicon-chevron-right',
							collapseIcon: 'glyphicon glyphicon-chevron-down',
							nodeIcon: null,
							showTags: true,
							showBorder: true,
							data: rs
						});
					});

			});
		</script>

	</body>

</html>